package com.csu.service;

import com.csu.common.CommonResponse;
import com.csu.domain.Item;

import java.util.List;

public interface ItemService {
    //查
    CommonResponse<List<Item>> getAllItem();

    CommonResponse<Item> getItemByItemId(String itemId);

    CommonResponse<List<Item>> updateItem(Item item);

    CommonResponse<Item> addNewItem(Item item);

    CommonResponse<Object> deleteItemByItemId(String itemId);
}
